package org.longhua.cloud.service.impl;

import org.longhua.cloud.domain.SystemConfig;
import org.longhua.cloud.mapper.SystemConfigMapper;
import org.longhua.cloud.service.SystemConfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class SystemConfigServiceImpl implements SystemConfigService {
    @Resource
    SystemConfigMapper systemConfigMapper;

    @Override
    public SystemConfig getSysConfig(Integer id) {

        return systemConfigMapper.selectByPrimaryKey(id);
    }
}
